<?php

/**
 * BBCode Component
 *
 * @version $Id: bbcode.inc.php,v 1.1 2004/07/14 16:29:12 phppc Exp $
 * @copyright 2004 
 **/

		$this->bbcode_create_tag("b","<b>\\1</b>","",0,".*?");
		$this->bbcode_create_tag("i","<i>\\1</i>");
		$this->bbcode_create_tag("u","<u>\\1</u>");
		$this->bbcode_create_tag("center","<center>\\1</center>");
		$this->bbcode_create_tag("url","<a href=\"\\1\" target=\"_blank\">\\1</a>","",0,"((?:http\:\/\/){1}(((www)?)|(([a-z])*))(\.){0,1}([a-z])+(\.){1}([a-z]){2,4}([a-z-_0-9./?=&]*))");
		$this->bbcode_create_tag("url","<a href=\"\\1\" target=\"_blank\">\\2</a>","",1,"([a-z_0-9.]+)","((?:http\:\/\/){1}(?:(?:(?:www)?)|(?:(?:[a-z])*))(?:\.){0,1}(?:[a-z])+(?:\.){1}(?:[a-z]){2,4}([a-z-_0-9./?=&]*))");
		$this->bbcode_create_tag("list","","list");
		$this->bbcode_create_tag("img","<img src=\"\\1\" border=\"0\">","",0,"((?:http\:\/\/){1}(((www)?)|(([a-z])*))(\.){0,1}([a-z])+(\.){1}([a-z]){2,4}([a-z-_0-9./?=&]*)(.+)(gif|jpeg|jpg|png))+");
		$this->bbcode_create_tag("quote","<fieldset><legend><b>[LANG=bbcode_quote]</b></legend>\\1</fieldset>","",0,".*",".*","","si");
?>